@import "//at.alicdn.com/t/font_1536509_b9b769u342r.css";
@import "//at.alicdn.com/t/font_2312271_eqpezpdb1lr.css";
@import "//at.alicdn.com/t/font_2728527_x40vv9g70oc.css";

@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Consolas, Helvetica Neue, Helvetica, PingFang SC,
    Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

button,
input,
optgroup,
select,
textarea {
  font-family: Consolas, Helvetica Neue, Helvetica, PingFang SC,
    Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.border-table {
  .el-table__row {
    td:first-child {
      border-left: 1px solid #ebeef5;
    }
    td:last-child {
      border-right: 1px solid #ebeef5;
    }
  }
  .el-table__header tr {
    th:first-child {
      border-left: 1px solid #ebeef5;
    }
    th:nth-last-child(2) {
      border-right: 1px solid #ebeef5;
    }
    th {
      border-top: 1px solid #ebeef5;
    }
  }
  .el-table__header th {
    background: #f4f5f9;
  }
  .el-table__empty-block {
    border-left: 1px solid #ebeef5;
    border-right: 1px solid #ebeef5;
    border-bottom: 1px solid #ebeef5;
  }
  &.db-table {
    .el-table__row {
      td:first-child {
        border-left: none;
      }
    }
    &.el-table--border td{
      border-right: none;
      border-left: none;
      &:last-of-type{
        border-right: 1px solid #ebeef5;
      }
    }
    .el-table__header tr {
      th:first-child {
        border-left: none;
      }
      th:nth-last-child(2) {
        border-right: none;
      }
      th {
        border-top: none;
      }
    }
  }
}

.small-height-table td{
  padding: 2px 0;
}


.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.fl{
  float: left;
}
.fr{
  float: right;
}
